﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Disco.Ontology
{
    public interface IEntity
    {
        long Id { get; set; }
        // HINT: IEntity.Id is computed AFTER SaveChanges() occured, hence we could not log the Id within ChangeDetail!
        // TODO: As a Developer I want to replace the Id (long) with Key (Guid) so that there is just one identity per entity to maintain.
        Guid Key { get; set; } 
        DateTime Modified { get; set; }
    }
}
